package io.sage.modules.flow.service;

import io.sage.modules.readsenseapi.entity.BFlowCustomerGroups;
import io.sage.modules.readsenseapi.entity.BFlowCustomers;
import io.sage.modules.readsenseapi.vo.CustomerGroupsVo;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 */
public interface FlowCustomerGroupsService{

    /**
     * 会员组列表
     * @param params
     * @return
     */
    Map<String,Object> selectFlowCustomerGroupsList(Map<String, Object> params);
    /**
     * 批量删除
     * @param ids
     * @return
     */
    int deleteBatchIds(String[] ids);

    /**
     * 根据主键id查询详情
     * @param id
     * @return
     */
    BFlowCustomerGroups selectByPrimaryKey(String id);

    /**
     * 根据主键修改会员组信息
     * @param customerGroupsVo
     * @return
     */
    int updateByPrimaryKeySelective(CustomerGroupsVo customerGroupsVo);

    /**
     * 添加会员组信息
     * @param customerGroupsVo
     * @return
     */
    int insert(CustomerGroupsVo customerGroupsVo);
    /**
     * gettotal
     */
    String gettotal();
    /**
     * 通过会员组id查找
     * @param id
     * @return
     */
    List<BFlowCustomers> selectByBFlowCustomerGroups(String id);
}

